package csc.daonjpa.java.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

/**
 * Entity class for Account table. This is a simple POJO class with annotations to define mapping with DB table
 * @author nvu3
 *
 */
@Entity
@Table(name="baseinfor")
@Inheritance(strategy = InheritanceType.JOINED)
public class BaseInfor implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name = "number")
	private String number;
	
	@Column(name = "amount")
	private String amount;
	

	/**
	 * Required constructor
	 */
	public BaseInfor() {
	
	}
	
	public BaseInfor(String number, String amount) {
		this.number = number;
		this.amount = amount;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}
	
	
	
}